#include <stdio.h>

void process(int a[], int j);

int main(void)
{
    int a[3] = {1, 2, 3};
    int j = 5;

    process(a, j);

    for (int i = 0; i < 3; i++)
        printf("%d ", a[i]);

    printf("%d", j);
}

void process(int a[], int i)
{
    for (int i = 0; i < 3; i++)
        a[i] += 1;
    
    i += 1;
}